package com.hb.trans.mvp.model

import com.basiclib.base.BaseModel
import com.hb.trans.api.EndPoints
import com.hb.trans.api.TRANS_SERVER_PATH
import com.hb.trans.bean.Base
import com.hb.trans.bean.PeriodPandect
import com.hb.trans.mvp.contract.TransInfosContract
import io.reactivex.Observable
import javax.inject.Inject

class TransInfoModel @Inject constructor(var api: EndPoints) : BaseModel(), TransInfosContract.Model {
    override fun getPeriodListDetail(stunum: String): Observable<Base<MutableList<PeriodPandect>>> {
        return api.getPeriodListDetail("${TRANS_SERVER_PATH}periodList/detail", stunum)
    }

}
